package com.yanu.trace.t2s.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author whj
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 交易金额
     */
    private Double money;

    /**
     * 订单源头类型 批发市场之类的
     */
    private String origin_type;

    /**
     * 订单源头ID
     */
    private Integer orgin_id;

    /**
     * 订单目标类型
     */
    private String target_type;

    /**
     * 订单目标ID
     */
    private Integer target_id;

    /**
     * 订单发生时间
     */
    private Date create_date;

    /**
     * 备注
     */
    private String remark;


}
